package com.aspose.cells;

class zbng {
   private static final com.aspose.cells.b.c.a.za a = new com.aspose.cells.b.c.a.za(new String[]{"none", "showItemsWithDataAtTop", "showItemsWithNoData", "ascending", "descending", "hoveredSelectedItemWithData", "hoveredSelectedItemWithNoData", "hoveredUnselectedItemWithData", "hoveredUnselectedItemWithNoData", "selectedItemWithData", "selectedItemWithNoData", "unselectedItemWithData", "unselectedItemWithNoData", "SlicerStyleLight1", "SlicerStyleLight2", "SlicerStyleLight3", "SlicerStyleLight4", "SlicerStyleLight5", "SlicerStyleLight6", "SlicerStyleOther1", "SlicerStyleOther2", "SlicerStyleDark1", "SlicerStyleDark2", "SlicerStyleDark3", "SlicerStyleDark4", "SlicerStyleDark5", "SlicerStyleDark6"});

   static String a(Object var0) {
      if (var0 instanceof Byte) {
         return zase.a((Byte)var0);
      } else if (var0 instanceof Double) {
         return zase.b((Double)var0);
      } else if (var0 instanceof Float) {
         return zase.a((Float)var0);
      } else if (var0 instanceof Integer) {
         return zase.y((Integer)var0);
      } else if (var0 instanceof Short) {
         return zase.a((Short)var0);
      } else {
         return var0 instanceof Long ? zase.a((Long)var0 & 4294967295L) : com.aspose.cells.b.a.zr.a(var0);
      }
   }

   static String a(int var0) {
      switch(var0) {
      case 0:
         return "none";
      case 1:
         return "showItemsWithDataAtTop";
      case 2:
         return "showItemsWithNoData";
      default:
         return "showItemsWithDataAtTop";
      }
   }

   static String b(int var0) {
      switch(var0) {
      case 0:
         return "ascending";
      case 1:
         return "descending";
      default:
         return "ascending";
      }
   }

   static String c(int var0) {
      switch(var0) {
      case 0:
         return "unselectedItemWithData";
      case 1:
         return "selectedItemWithData";
      case 2:
         return "unselectedItemWithNoData";
      case 3:
         return "selectedItemWithNoData";
      case 4:
         return "hoveredUnselectedItemWithData";
      case 5:
         return "hoveredSelectedItemWithData";
      case 6:
         return "hoveredUnselectedItemWithNoData";
      case 7:
         return "hoveredSelectedItemWithNoData";
      default:
         throw new CellsException(6, "Error SlicerStyleElementType value");
      }
   }

   static int a(String var0) {
      switch(a.a(var0)) {
      case 5:
         return 5;
      case 6:
         return 7;
      case 7:
         return 4;
      case 8:
         return 6;
      case 9:
         return 1;
      case 10:
         return 3;
      case 11:
         return 0;
      case 12:
         return 2;
      default:
         throw new CellsException(6, "Error SlicerStyleElementType value");
      }
   }

   static String d(int var0) {
      switch(var0) {
      case 0:
         return "SlicerStyleLight1";
      case 1:
         return "SlicerStyleLight2";
      case 2:
         return "SlicerStyleLight3";
      case 3:
         return "SlicerStyleLight4";
      case 4:
         return "SlicerStyleLight5";
      case 5:
         return "SlicerStyleLight6";
      case 6:
         return "SlicerStyleOther1";
      case 7:
         return "SlicerStyleOther2";
      case 8:
         return "SlicerStyleDark1";
      case 9:
         return "SlicerStyleDark2";
      case 10:
         return "SlicerStyleDark3";
      case 11:
         return "SlicerStyleDark4";
      case 12:
         return "SlicerStyleDark5";
      case 13:
         return "SlicerStyleDark6";
      default:
         return "Custom";
      }
   }

   static int b(String var0) {
      switch(a.a(var0)) {
      case 13:
         return 0;
      case 14:
         return 1;
      case 15:
         return 2;
      case 16:
         return 3;
      case 17:
         return 4;
      case 18:
         return 5;
      case 19:
         return 6;
      case 20:
         return 7;
      case 21:
         return 8;
      case 22:
         return 9;
      case 23:
         return 10;
      case 24:
         return 11;
      case 25:
         return 12;
      case 26:
         return 13;
      default:
         return 14;
      }
   }
}
